package AI.screens
{
	import com.cheezeworld.AI.Behaviors.*;
	import com.cheezeworld.entity.*;
	import com.cheezeworld.screens.IScreenItem;
	import com.cheezeworld.utils.Input;

	public class FleeDemo extends AIDemoScreen
	{
		public function FleeDemo(a_parentScreen:IScreenItem=null)
		{
			super(a_parentScreen);
			
			screenLabel = "Flee";
			
			// Create some boids
			var boid1:Boid;
			boid1 = _factory.getEntity( "Boid1", _gameworld ) as Boid;
			
			boid1.newPos.Set( 250, 250 );
			boid1.steering.addBehavior( new Flee( Input.instance.worldMousePos, 200*200 ) );
			
		}	
		
	}
}